package com.xiaoshuidi.cloud.module.member.pojo.mobilemodifyrecord;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 手机号修改记录
 * </p>
 *
 * @author hans.zhang
 * @since 2023-12-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("member_mobile_modify_record")
@Schema(description="手机号修改记录")
public class MemberMobileModifyRecord extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "昵称")
    private String userName;

    @Schema(description = "修改前的手机号")
    private String beforeMobile;

    @Schema(description = "修改后的手机号")
    private String afterMobile;

    @Schema(description = "证件号")
    private String cardNo;

    @Schema(description = "真名")
    private String realName;

    @Schema(description = "账号的创建时间")
    private LocalDateTime userCreateTime;

    @Schema(description = "操作人")
    private String operator;

}
